﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace li4_staffsched.Camada_de_Negocio
{
    class GeraComandosSQL
    {
        public static string cmdGetUniqueEq(String tabela,String atributo,String campo) {
            return "SELECT * FROM "+tabela+" where "+atributo+"=" + campo + "\"";
        }

        public static string cmdGetParcial(String tabela, String atributo, String campo)
        {
            return "SELECT * FROM " + tabela + " where " + atributo + " LIKE '%" + campo + "%'\"";
        }

    }
}
